package com.example.experiment1.FactoryPattern.pen;

public abstract class PenCore {
    public String color;

   public PenCore(String color) {
      this.color=color;
   }

   public abstract void writeWord(String s);

}
